<?php

namespace app\route;

use think\Route;

use think\Config;

use think\DB;

use think\Request;

    $request = Request::instance();
    if (strpos($request->url(),'Api') !== false) {
        Route::rule('setting/:ctr/:act' ,'setting/:ctr/:act'); 
    }


